package com.ycg.biquge;


import com.ycg.biquge.uitls.Crawler;
import jakarta.annotation.PostConstruct;
import jakarta.annotation.Resource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
@MapperScan(basePackages = {"com.ycg.biquge.mapper"})
@SpringBootApplication
@EnableScheduling
public class BiqugeApplication {

    public static void main(String[] args) {
        SpringApplication.run(BiqugeApplication.class, args);
    }

}
